<template>
    <div>
        <div class="index">
            <div class="w1">
                <p>发帖</p>
            </div>
            <div class="w2">
                <div class="useTil" v-for="i in 10" :key="i">
                        <div class="title1">
                            <i class="el-icon-odometer"></i>
                            <p>05-11</p>
                            <!-- <div class="title1_1">
                                <router-link to="/usercenter"><img class="img1" src="https://img-static.mihoyo.com/avatar/avatar10014.png" width="30px" alt=""></router-link> 
                            
                                <img class="img3" src="../../assets/img/v.png" alt="">
                                <router-link to="/usercenter"><span class="ti1" title="西风快报员">西风快报员</span></router-link>
                                <span class="ti2">
                                    <img class="img2" src="https://img-static.mihoyo.com/level/level16.png" alt="">
                                </span>
                                <span class="ti3">23小时前·官方</span>
                            </div>
                            <div class="title1_2">
                                关注
                            </div> -->
                        </div>
                        <div class="title2">
                            <div class="ti1">官方</div>
                            <div class="ti2" @click="Jump">[百货奇货]活动：开奇货匣得原石!</div>
                        </div>
                        <div class="title3">
                            常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f
                        </div>
                        <div class="title4">
                            <div v-for="(item,i) in imgList" :key="i">
                                <!-- <img :src="item" alt=""> -->
                                <el-image :src="item" :preview-src-list="imgList"></el-image>
                            </div>
                        </div>
                        <div class="title5">
                            <div class="title5_1">
                                <div v-for="item,i in www" :key="i">{{item}}</div>
                            </div>
                            <div class="title5_2">
                                <div class="title5_2_1">
                                    <i class="el-icon-view"></i>
                                    <span>168万+</span>
                                </div>
                                <div class="title5_2_2">
                                    <i class="el-icon-chat-dot-round"></i>
                                    <span>9800</span>
                                </div>
                                <div class="title5_2_3">
                                    <i class="el-icon-thumb"></i>
                                    <span>16万+</span>
                                </div>
                            </div>
                        </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    data() {
        return {
            the_data1: [
                {
                    id: 1,
                    img1: 'https://img-static.mihoyo.com/avatar/avatar10014.png',
                    icon: '../../assets/img/v.png',
                    name: '西风快报员',
                    grade: 'https://img-static.mihoyo.com/level/level16.png',
                    time: '22小时',
                    title: '[百货奇货]活动：开奇货匣得原石!',
                    brief: '常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f',
                    listImg: [
                        'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg',
                        'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg',
                        'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg',
                        'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg',
                        'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg'
                    ],
                    label: ['你好uacdfssf','不好吧','太好啦'],
                    views: '168万+',
                    comment: '9800',
                    give: '16万+'
                },{
                    id: 2,
                    img1: 'https://img-static.mihoyo.com/avatar/avatar10014.png',
                    icon: '../../assets/img/v.png',
                    name: '西风快报员',
                    grade: 'https://img-static.mihoyo.com/level/level16.png',
                    time: '22小时',
                    title: '[百货奇货]活动：开奇货匣得原石!',
                    brief: '常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f常年你的GIF不覅u是非哦分工日工日个穷鬼·iOS v hi发vi的比赛v覅u百度f',
                    listImg: [
                        'https://upload-bbs.mihoyo.com/upload/2022/03/30/5f1612a985b3c421e3298bc17618a43b.jpeg',
                        'https://upload-bbs.mihoyo.com/upload/2022/04/29/3fe57965ed348966dd93dfaba28da0f6.jpeg',
                        'https://upload-bbs.mihoyo.com/upload/2022/04/29/b20891f66c723d6c569c1e8f3447671e.jpeg',
                        'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg',
                        'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg'
                    ],
                    label: ['你好uacdfssf','不好吧','太好啦'],
                    views: '168万+',
                    comment: '9800',
                    give: '16万+'
                }
            ],
            imgList: [
                'https://upload-bbs.mihoyo.com/upload/2022/03/30/5f1612a985b3c421e3298bc17618a43b.jpeg',
                'https://upload-bbs.mihoyo.com/upload/2022/05/11/75379477/814b48cc0c8b409159d1c6144cb0bac8_6416092174768329148.png?x-oss-process=image/resize,s_300/quality,q_80/auto-orient,0/interlace,1/format,jpg',
                'https://upload-bbs.mihoyo.com/upload/2022/04/29/b20891f66c723d6c569c1e8f3447671e.jpeg',
                'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg',
                'https://upload-bbs.mihoyo.com/upload/2022/05/02/8ffeba1c742e7ef9d38a14c944f39872.jpeg'
                ],
            www: [
                '你好uacdfssf','不好吧','太好啦'
            ],
        }
    },
    methods: {
        Jump() {
            this.$router.push('/postdetails')
        }
    }
}
</script>

<style lang="less" scoped>
    a {
        color: #999;
        text-decoration: none;
    }
    .index {
        .w1 {
            border-bottom: 1px solid #ccc;
            p {
                margin-left: 30px;
                font-size: 16px;
            }
        }
        .w2 {
            // border: 1px solid red;
            padding: 30px;
            .useTil:hover {
                .ti2 {
                    color: #00c3ff;
                }
            }
            .useTil {
                        // margin-top: -20px;
                        cursor: pointer;
                        width: 96%;
                        // padding: 3px;
                        border-bottom: 1px solid #999;
                        padding-bottom: 30px;
                        // margin-top: 6px;
                        .title1 {
                            // border: 1px solid #ccc;
                            height: 50px;
                            display: flex;
                            align-items: center;
                            color: #999;
                            i {
                                font-size: 20px;
                                // margin-left: 15px;
                            }
                            p {
                                margin-left: 10px;
                            }
                        }
                        .title2 {
                            margin-top: 10px;
                            display: flex;
                            align-items: center;
                            .ti1 {
                                width: 35px;
                                text-align: center;
                                background-color: #00c3ff;
                                font-size: 15px;
                                color: white;
                            }
                            .ti2 {
                                margin-left: 6px;
                                font-size: 15px;
                                font-weight: bolder;
                            }
                            .ti2:hover {
                                color: #00c3ff;
                                cursor: pointer;
                            }
                        }
                        .title3 {
                            margin-top: 5px;
                            color: #999;
                            font-size: 13px;
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 1;
                            overflow: hidden;
                        }
                        .title4 {
                            margin-top: 6px;
                            display: flex;
                            flex-wrap: wrap;
                            .el-image {
                                margin-left: -10px;
                                min-width: 35%;
                                vertical-align: middle;
                                border-radius: 6px;
                                height: 80px;
                                margin: 10px;
                            }
                            
                        }
                        .title5 {
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            .title5_1 {
                                display: flex;
                                div {
                                    margin-left: 10px;
                                    padding: 5px;
                                    font-size: 10px;
                                    border-radius: 20px;
                                    background-color: rgb(236, 233, 233);
                                }
                            }
                            .title5_2 {
                                display: flex;
                                color: #999;
                                span {
                                    // color: #999;
                                    font-size: 10px;
                                    display: flex;
                                }
                                i {
                                    font-size: 20px;
                                }
                                .title5_2_1 {
                                    margin-right: 10px;
                                    display: flex;
                                    align-items: center;
                                }
                                .title5_2_2 {
                                    margin-right: 10px;
                                    display: flex;
                                    align-items: center;
                                }
                                .title5_2_3 {
                                    margin-right: 10px;
                                    display: flex;
                                    align-items: center;
                                }
                            }
                        }
            }
        }
    }
</style>